package com.vastcom.service;

import java.util.List;

import com.vastcom.model.Department;
import com.vastcom.model.Guadian;
import com.vastcom.model.Stuinfo;

public interface ManageService {
	//院系表
	public boolean addDepartment(Department department);
	public boolean deleteDepartment(Department department);
	public boolean updateDepartment(Department department);
	public Department getDepartment(Department department);
	public List<Department> getDepartmentList();
	public String getDeptNameById(String deptid);
	
	
	///学生表
	public boolean addStuinfo(Stuinfo stuinfo);
	public boolean deleteStuinfo(Stuinfo stuinfo);
	public boolean updateStuinfo(Stuinfo stuinfo);
	public Stuinfo getStuinfo(Stuinfo stuinfo);
	public List<Stuinfo> getStuinfoList();
	public List<Stuinfo> getStuinfoListByClassId(String classid);
	public List<Stuinfo> getStuinfoListByDeptid(String deptid);
	public int CountTableSize(String tablename);
	public List<Stuinfo> getStuinfoList(int start,int num);
	
	//监护人表
	
	public boolean addGuadian(Guadian guadian);
	public boolean deleteGuadian(Guadian guadian);
	public boolean updateGuadian(Guadian guadian);
	public Guadian getGuadian(Guadian guadian);
	public List<Guadian> getGuadianList();
	

}
